\hypertarget{class_s_w2_a311___lib_1_1_user}{\section{S\-W2\-A311\-\_\-\-Lib.\-User Class Reference}
\label{class_s_w2_a311___lib_1_1_user}\index{S\-W2\-A311\-\_\-\-Lib.\-User@{S\-W2\-A311\-\_\-\-Lib.\-User}}
}


User-\/strukturen, der laver bruger objekter.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_w2_a311___lib_1_1_user_a0d711e78f0ee08e53570a5eedc07acf0}{User} (string username, string password)
\begin{DoxyCompactList}\small\item\em Standard constructor til \hyperlink{class_s_w2_a311___lib_1_1_user}{User} objekter. \end{DoxyCompactList}\item 
\hyperlink{class_s_w2_a311___lib_1_1_user_a5246848f6a81e91bc00bbec5a38aa8e7}{User} (string username, string password, bool valid\-In)
\begin{DoxyCompactList}\small\item\em Constructor der også erklærer {\ttfamily valid\-In}. \end{DoxyCompactList}\item 
\hyperlink{class_s_w2_a311___lib_1_1_user_ad71eb7398a29e5161c56d1ddfd4485ad}{User} (Serialization\-Info info, Streaming\-Context ctxt)
\begin{DoxyCompactList}\small\item\em Construktor til når objektet serialiseres. \end{DoxyCompactList}\item 
void \hyperlink{class_s_w2_a311___lib_1_1_user_a02978721bf8b873eff16bec30dc416f8}{Get\-Object\-Data} (Serialization\-Info info, Streaming\-Context ctxt)
\begin{DoxyCompactList}\small\item\em Metode til deserializering af objektet. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
string \hyperlink{class_s_w2_a311___lib_1_1_user_a618a2f56f64b6402acdba613d185868d}{Username}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\item 
string \hyperlink{class_s_w2_a311___lib_1_1_user_a2c00f1641ac4c24b8e059af5ea7f42bb}{Password}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\item 
bool \hyperlink{class_s_w2_a311___lib_1_1_user_a16146f3923ba2aec5aae9605c9560ba7}{is\-Valid}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
string \hyperlink{class_s_w2_a311___lib_1_1_user_a25dc1eac6c2e99591f9971035410c16c}{\-\_\-username}
\item 
string \hyperlink{class_s_w2_a311___lib_1_1_user_a652e763ffddfe65aca76be76cb09b3c9}{\-\_\-password}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
User-\/strukturen, der laver bruger objekter. 



Definition at line 11 of file User.\-cs.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_w2_a311___lib_1_1_user_a0d711e78f0ee08e53570a5eedc07acf0}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!User@{User}}
\index{User@{User}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{User}]{\setlength{\rightskip}{0pt plus 5cm}S\-W2\-A311\-\_\-\-Lib.\-User.\-User (
\begin{DoxyParamCaption}
\item[{string}]{username, }
\item[{string}]{password}
\end{DoxyParamCaption}
)}}\label{class_s_w2_a311___lib_1_1_user_a0d711e78f0ee08e53570a5eedc07acf0}


Standard constructor til \hyperlink{class_s_w2_a311___lib_1_1_user}{User} objekter. 


\begin{DoxyParams}{Parameters}
{\em username} & \\
\hline
{\em password} & \\
\hline
\end{DoxyParams}


Definition at line 69 of file User.\-cs.

\hypertarget{class_s_w2_a311___lib_1_1_user_a5246848f6a81e91bc00bbec5a38aa8e7}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!User@{User}}
\index{User@{User}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{User}]{\setlength{\rightskip}{0pt plus 5cm}S\-W2\-A311\-\_\-\-Lib.\-User.\-User (
\begin{DoxyParamCaption}
\item[{string}]{username, }
\item[{string}]{password, }
\item[{bool}]{valid\-In}
\end{DoxyParamCaption}
)}}\label{class_s_w2_a311___lib_1_1_user_a5246848f6a81e91bc00bbec5a38aa8e7}


Constructor der også erklærer {\ttfamily valid\-In}. 

{\ttfamily valid\-In} giver {\ttfamily is\-Valid} en værdi. {\ttfamily is\-Valid} bruges til at fortælle om en user er blevet accepteret af serveren ved login. 


\begin{DoxyParams}{Parameters}
{\em username} & \\
\hline
{\em password} & \\
\hline
{\em valid\-In} & \\
\hline
\end{DoxyParams}


Definition at line 83 of file User.\-cs.

\hypertarget{class_s_w2_a311___lib_1_1_user_ad71eb7398a29e5161c56d1ddfd4485ad}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!User@{User}}
\index{User@{User}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{User}]{\setlength{\rightskip}{0pt plus 5cm}S\-W2\-A311\-\_\-\-Lib.\-User.\-User (
\begin{DoxyParamCaption}
\item[{Serialization\-Info}]{info, }
\item[{Streaming\-Context}]{ctxt}
\end{DoxyParamCaption}
)}}\label{class_s_w2_a311___lib_1_1_user_ad71eb7398a29e5161c56d1ddfd4485ad}


Construktor til når objektet serialiseres. 


\begin{DoxyParams}{Parameters}
{\em info} & \\
\hline
{\em ctxt} & \\
\hline
\end{DoxyParams}


Definition at line 94 of file User.\-cs.



\subsection{Member Function Documentation}
\hypertarget{class_s_w2_a311___lib_1_1_user_a02978721bf8b873eff16bec30dc416f8}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!Get\-Object\-Data@{Get\-Object\-Data}}
\index{Get\-Object\-Data@{Get\-Object\-Data}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{Get\-Object\-Data}]{\setlength{\rightskip}{0pt plus 5cm}void S\-W2\-A311\-\_\-\-Lib.\-User.\-Get\-Object\-Data (
\begin{DoxyParamCaption}
\item[{Serialization\-Info}]{info, }
\item[{Streaming\-Context}]{ctxt}
\end{DoxyParamCaption}
)}}\label{class_s_w2_a311___lib_1_1_user_a02978721bf8b873eff16bec30dc416f8}


Metode til deserializering af objektet. 


\begin{DoxyParams}{Parameters}
{\em info} & \\
\hline
{\em ctxt} & \\
\hline
\end{DoxyParams}


Definition at line 105 of file User.\-cs.



\subsection{Member Data Documentation}
\hypertarget{class_s_w2_a311___lib_1_1_user_a652e763ffddfe65aca76be76cb09b3c9}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!\-\_\-password@{\-\_\-password}}
\index{\-\_\-password@{\-\_\-password}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{\-\_\-password}]{\setlength{\rightskip}{0pt plus 5cm}string S\-W2\-A311\-\_\-\-Lib.\-User.\-\_\-password\hspace{0.3cm}{\ttfamily [private]}}}\label{class_s_w2_a311___lib_1_1_user_a652e763ffddfe65aca76be76cb09b3c9}


Definition at line 59 of file User.\-cs.

\hypertarget{class_s_w2_a311___lib_1_1_user_a25dc1eac6c2e99591f9971035410c16c}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!\-\_\-username@{\-\_\-username}}
\index{\-\_\-username@{\-\_\-username}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{\-\_\-username}]{\setlength{\rightskip}{0pt plus 5cm}string S\-W2\-A311\-\_\-\-Lib.\-User.\-\_\-username\hspace{0.3cm}{\ttfamily [private]}}}\label{class_s_w2_a311___lib_1_1_user_a25dc1eac6c2e99591f9971035410c16c}


Definition at line 36 of file User.\-cs.



\subsection{Property Documentation}
\hypertarget{class_s_w2_a311___lib_1_1_user_a16146f3923ba2aec5aae9605c9560ba7}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!is\-Valid@{is\-Valid}}
\index{is\-Valid@{is\-Valid}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{is\-Valid}]{\setlength{\rightskip}{0pt plus 5cm}bool S\-W2\-A311\-\_\-\-Lib.\-User.\-is\-Valid\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{class_s_w2_a311___lib_1_1_user_a16146f3923ba2aec5aae9605c9560ba7}


Definition at line 61 of file User.\-cs.

\hypertarget{class_s_w2_a311___lib_1_1_user_a2c00f1641ac4c24b8e059af5ea7f42bb}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!Password@{Password}}
\index{Password@{Password}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{Password}]{\setlength{\rightskip}{0pt plus 5cm}string S\-W2\-A311\-\_\-\-Lib.\-User.\-Password\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{class_s_w2_a311___lib_1_1_user_a2c00f1641ac4c24b8e059af5ea7f42bb}


Definition at line 39 of file User.\-cs.

\hypertarget{class_s_w2_a311___lib_1_1_user_a618a2f56f64b6402acdba613d185868d}{\index{S\-W2\-A311\-\_\-\-Lib\-::\-User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}!Username@{Username}}
\index{Username@{Username}!SW2A311_Lib::User@{S\-W2\-A311\-\_\-\-Lib\-::\-User}}
\subsubsection[{Username}]{\setlength{\rightskip}{0pt plus 5cm}string S\-W2\-A311\-\_\-\-Lib.\-User.\-Username\hspace{0.3cm}{\ttfamily [get]}, {\ttfamily [set]}}}\label{class_s_w2_a311___lib_1_1_user_a618a2f56f64b6402acdba613d185868d}


Definition at line 15 of file User.\-cs.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
S\-W2\-A311\-\_\-\-Lib/\hyperlink{_user_8cs}{User.\-cs}\end{DoxyCompactItemize}
